<!DOCTYPE html>
<html>
	<head>
		<title>testKeyUpEvent</title>
		<script type="text/javascript" src="js/jquery-1.8.3.js"></script>
		<script type="text/javascript" src="js/EventUtil.js"></script>

	</head>
	<body>
		<div id="myDiv">
			<input type="text" id="myText"/>
		</div>
		<script type="text/javascript">
			
			var textbox = document.getElementById('myText');
			EventUtil.addHandler(textbox,'keyup',function(event){
				event = EventUtil.getEvent(event);
				alert(event.keyCode);
			});
			
		</script>
	</body>
</html>